package com.yxp.easy.permissionutil;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

/**
 * Created by Administrator on 2016/4/19.
 */
public class MeActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.me);
        Toolbar id_toolbar = (Toolbar) findViewById(R.id.id_toolbar);

        TextView index_tv_title = (TextView) findViewById(R.id.index_tv_title);
        index_tv_title.setText(getResources().getString(R.string.str_me));
        id_toolbar.setTitle("");
        setSupportActionBar(id_toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(false);
        id_toolbar.setNavigationIcon(R.mipmap.ic_info);
        id_toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(MeActivity.this, "T", Toast.LENGTH_SHORT).show();
            }
        });
    }
}
